<?php require_once(dirname(__FILE__)."/../config/config.php"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>添加礼品配送信息</title>
	</head>
	<body>
	<?php  
if($_SESSION['admin_name']=="")
{

	echo "<script>location.href='admin_login.php';</script>";
}
?>
	<center>
		<h2>礼品管理系统</h2>
<a href="gift_delivery_add.php">添加礼品配送信息</a>  |
<a href="gift_delivery.php">浏览礼品配送信息</a> |
<hr width="90%" />
		
		<h3>发布礼品分配信息</h3>
	<form action="gift_delivery_action.php?action=add"  method="post">
		<table width="320" border="0" align="center">
		
			<tr>
			<td align="right"> 礼品名称: </td>
			<td><input type="text" name="gift_name" /></td>
			</tr>
			<tr>
			<td align="right"> 用户姓名: </td>
			<td><input type="text" name="username" /></td>
			</tr>
			<tr>
			<td align="right"> 礼品状态: </td>
			<td> <input type="text" name="gift_status"/></td>
			</tr><tr>
			<td align="right"> 兑换时间: </td>
			<td> <input type="text" name="Conversiontime" /></td>
			</tr>
			<tr>
			<td align="right">配送时间 : </td>
			<td><input type="text" name="Deliverytime" /></td>
			</tr>
			<tr>
				<td colspan="2" align="center">
						<input type="submit"   value="填写"/>&nbsp;&nbsp;
				</td>
			</tr>
		</table>
	  </form>
		</center>
		</body>
		</html>